package com.beiing.tianshuai.tianshuai.interest.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/12/1 0001
 */

public class InterestCategoriesBean {

    /**
     * code : 200
     * data : {"number":[{"id":"1","name":"精选","status":"2","create_time":"1510630611"},{"id":"2","name":"舞蹈","status":"0","create_time":"1510630612"},{"id":"3","name":"科学","status":"0","create_time":"1510630613"},{"id":"4","name":"奇趣","status":"0","create_time":"1510630614"},{"id":"5","name":"生活","status":"0","create_time":"1510630615"},{"id":"6","name":"新闻","status":"0","create_time":"1510630616"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("number")
        private List<NumberBean> number;

        public List<NumberBean> getNumber() {
            return number;
        }

        public void setNumber(List<NumberBean> number) {
            this.number = number;
        }

        public static class NumberBean {
            /**
             * id : 1
             * name : 精选
             * status : 2
             * create_time : 1510630611
             */

            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;
            @SerializedName("status")
            private String status;
            @SerializedName("create_time")
            private String createTime;

            private boolean isSelected;

            public boolean isSelected() {
                return isSelected;
            }

            public void setSelected(boolean selected) {
                isSelected = selected;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }
    }
}
